package org.apache.pig.pigpen.util;

import java.io.IOException;

import org.apache.pig.PigServer;
import org.apache.pig.pigpen.LoggerUtil;

public class PigExample {

	public static void main(String[] args) {
		PigServer pig=PigServerPool.getPigServer();
		try {
			pig.registerScript(args[0]);
		} catch (IOException e) {
			LoggerUtil.logError(e);
		}
	}
}
